<?php

namespace App\Repositories;

use App\Models\LiftPole;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class LiftPoleRepository
 * @package App\Repositories
 * @version January 4, 2018, 7:17 am UTC
 *
 * @method LiftPole findWithoutFail($id, $columns = ['*'])
 * @method LiftPole find($id, $columns = ['*'])
 * @method LiftPole first($columns = ['*'])
*/
class LiftPoleRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'vpl_number',
        'park_code',
        'vpl_type',
        'in_time',
        'out_time',
        'park_duration',
        'parking_charge',
        'charger',
        'status'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return LiftPole::class;
    }
}
